package com.baizhi.zjs.action;

import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import com.baizhi.zjs.entity.AdminEntity;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.interceptor.Interceptor;

public class ExitAction extends ActionSupport   {
public String extia() {
	System.out.println("安全退出action");
	HttpSession session = ServletActionContext.getRequest().getSession();
	session.invalidate();
	return "exti";
 }
		//前台安全退出
public String exts() {
	System.out.println("安全退出action=========");
	HttpSession session = ServletActionContext.getRequest().getSession();
	session.invalidate();
	return "extisss";
 }
}
